home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / Basic / Visual Basic.60 / COMMON / TOOLS / VCM / VCM.MDB / VcmComponentContainer / 20_Cabinet / INT1.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1998-05-18  |  1.7 KB  |  64 lines

  1. // Int1.cpp : implementation file
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1998 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. #include "stdafx.h"
  14. #include "Wizard97.h"
  15. #include "Int1.h"
  16.  
  17. #ifdef _DEBUG
  18. #define new DEBUG_NEW
  19. #undef THIS_FILE
  20. static char THIS_FILE[] = __FILE__;
  21. #endif
  22.  
  23. /////////////////////////////////////////////////////////////////////////////
  24. // CInterior1 property page
  25.  
  26. IMPLEMENT_DYNCREATE(CInterior1, CPropertyPageEx)
  27.  
  28. CInterior1::CInterior1() : CPropertyPageEx(CInterior1::IDD, 0, IDS_HEADERTITLE, IDS_HEADERSUBTITLE)
  29. {
  30.     //{{AFX_DATA_INIT(CInterior1)
  31.         // NOTE: the ClassWizard will add member initialization here
  32.     //}}AFX_DATA_INIT
  33. }
  34.  
  35. CInterior1::~CInterior1()
  36. {
  37. }
  38.  
  39. void CInterior1::DoDataExchange(CDataExchange* pDX)
  40. {
  41.     CPropertyPageEx::DoDataExchange(pDX);
  42.     //{{AFX_DATA_MAP(CInterior1)
  43.         // NOTE: the ClassWizard will add DDX and DDV calls here
  44.     //}}AFX_DATA_MAP
  45. }
  46.  
  47.  
  48. BEGIN_MESSAGE_MAP(CInterior1, CPropertyPageEx)
  49.     //{{AFX_MSG_MAP(CInterior1)
  50.         // NOTE: the ClassWizard will add message map macros here
  51.     //}}AFX_MSG_MAP
  52. END_MESSAGE_MAP()
  53.  
  54. /////////////////////////////////////////////////////////////////////////////
  55. // CInterior1 message handlers
  56.  
  57. BOOL CInterior1::OnSetActive()
  58. {
  59.     CPropertySheet* pSheet = (CPropertySheet*)GetParent();
  60.     ASSERT_KINDOF(CPropertySheet, pSheet);
  61.     pSheet->SetWizardButtons( PSWIZB_BACK | PSWIZB_NEXT);
  62.     return CPropertyPageEx::OnSetActive();
  63. }
  64.